package logic.status;

import networking.messages.syncMessages.ValueType;

public class StatusChangedEvent extends AbsChangedEvent {
	
	protected ValueType type;
	protected Object value;
	
	public StatusChangedEvent(ValueType type, Object value) {
		super();
		this.type = type;
		this.value = value;
	}
	
	public ValueType getType() { return type; }
	
	public Object getValue() { return value; }
	
	public int getIntValue() { return ((Integer)value).intValue(); }
	
	public float getFloatValue() { return ((Float)value).floatValue(); }
}